#include "../StdAfx.h"
#include "Tile.h"
namespace Model{

	bool Tile::canGoUp(){return false;}
	bool Tile::canGoDown(){return false;}
	bool Tile::canGoLeft(){return false;}
	bool Tile::canGoRight(){return false;}
	Treasure Tile::getTreasure(){return false;}
	Tile* Tile::clone()
	{
		return NULL;
	}
	Tile* Tile::neighborUp(){return NULL;}
	Tile* Tile::neighborDown(){return NULL;}
	Tile* Tile::neighborLeft(){return NULL;}
	Tile* Tile::neighborRight(){return NULL;}

	Tile::Tile(bool exit1,bool exit2,bool exit3,bool exit4,Orientation ori){
		this->exit1=exit1;
		this->exit2=exit2;
		this->exit3=exit3;
		this->exit4= exit4;
		this->ori=ori;
	}
	Tile::Tile(Treasure* tr,bool exit1,bool exit2,bool exit3,bool exit4,Orientation ori)
	{
		this->exit1=exit1;
		this->exit2=exit2;
		this->exit3=exit3;
		this->exit4= exit4;
		this->ori=ori;
		this->myTreasure=tr;
	}

	Tile::~Tile(void)
	{
		delete this->myTreasure;
	}
}